Skip to content

Update single.php#7

Open
nikintharan wants to merge 23 commits intoLessig2016:masterfrom
nikintharan:patch-4
Open

Update single.php#7
nikintharan wants to merge 23 commits intoLessig2016:masterfrom
nikintharan:patch-4

Conversation

@nikintharan
Copy link

Blog title is an hyperlink to an external link specified in a custom field

Custom field: 'custom_field'

@petergreeen
Copy link

Does that check for the empty custom field?

If custom field is empty, the link should still lead to the post. (like it does now)

Also, any chance to name the custom field "External URL" ?

Thank you!!

@nikintharan
Copy link
Author

I will make the modification to check for the empty custom field. The custom field can be created on the frontend with a key as 'custom_field'. We can give it any name :)

Checks if custom field is empty or not
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants